package example05;

public class Program {

	public static void main(String[] args) {
		Rectangle rect=new Rectangle();
		Triangle trgl=new Triangle();
         rect.setValues(4, 5);
         trgl.setValues(4, 5);
         System.out.println ("rect:{0}"+rect.area());
         System.out.println ("trgl:{0}"+trgl.area());
	}

}
